package com.py.inrejected.service;

import com.py.inrejected.vo.OdPurchaseDetails;
import com.py.inrejected.vo.RejectedInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface RejectedInfoService {

    List<RejectedInfo> selectAllByPrCode(@Param("prCode") String prCode);

    public List<OdPurchaseDetails> selectOdPurchaseDetailsList(OdPurchaseDetails odPurchaseDetails);

    int deletePurchaseDetialsByPrCode(@Param("phCode") String phCode,@Param("productCode") String productCode);

    int updatePurchaseDetials(@Param("num") Integer num,@Param("phCode") String phCode,@Param("productCode") String productCode);

    int updatePurchase(@Param("num") Integer num,@Param("phCode") String phCode );

    int updatePurchaseRejectedNum(@Param("num") Integer num,@Param("phCode") String phCode,@Param("productCode") String productCode);

    int changePurchaseOrder(@Param("phCode") String phCode);
}
